package com.dd.cloud.user.mapper.news;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dd.cloud.user.entity.news.AppPromotionNews;
import com.dd.cloud.user.req.news.AppPromotionNewsPageReq;
import com.dd.cloud.user.res.news.AppPromotionNewsPageRes;
import org.apache.ibatis.annotations.Param;

/**
 * @author Lx
 * @version 1.0
 * @date 2023/9/14
 */
public interface AppPromotionNewsMapper extends BaseMapper<AppPromotionNews> {
    /**
     * 查询app消息推广记录
     *
     * @param iPage
     * @param req
     * @return
     */
    IPage<AppPromotionNewsPageRes> queryAppPromotionNewsPage(IPage<?> iPage, @Param("req") AppPromotionNewsPageReq req);
}
